feat(heft-storybook-plugin): add --quiet opt-out and --no-open flag#5681
Open
UberMouse wants to merge 2 commits into
Open
feat(heft-storybook-plugin): add --quiet opt-out and --no-open flag#5681UberMouse wants to merge 2 commits into
--quiet opt-out and --no-open flag#5681UberMouse wants to merge 2 commits into
Conversation
564ef4c to
e3448fa
Compare
…h in serve mode Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
--quiet opt-out and --no-open flag
Contributor
Author
|
@octogonz can I get this looked at? Thanks 🙏 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two new opt-in behaviours for
@rushstack/heft-storybook-plugin:quietoption (plugin options inheft.json): controls whether--quietis passed to the Storybook CLI. Defaults totrue(existing behaviour). Set tofalseto suppress--quiet, which is useful when--verboseis not wanted but more Storybook output is needed.--no-openCLI flag: when passed alongside--storybookin serve mode, prevents Storybook from automatically opening a browser window. Useful for CI-adjacent tooling or daemon processes that start Storybook programmatically.Changes
heft-plugin.json— registers the--no-openparameter on the storybook taskStorybookPlugin.ts— wires up both behavioursschemas/storybook.schema.json— addsquietto the options schemaTest plan
heft build --storybook—--quietis passed by default (no change)heft build --storybookwith"quiet": falsein plugin options —--quietis omittedheft start --storybook --no-open— Storybook starts without opening a browser tabheft build --storybook --no-open—--no-openis silently ignored in build mode (only applies to serve mode)